/***********************************************************
 * Product Name: ExcelQuicker
 * Copyright (c)2005, Eunge
 * Author: Eunge
 * Web Site: www.eudev.net
 * Mail/MSN: eudev.net@yeah.net
 * ********************************************************/
using System;
using System.Globalization;
using System.IO;
using System.Reflection;

namespace ExcelQuicker.Framework
{
	/// <summary>
	/// The base class of ExcelQuicker component, derived from MarshalByRefObject. All classes derived from EQObject can be called beyond diferent applications
	/// </summary>
	[Serializable]
	public abstract class EQObject: MarshalByRefObject
	{
		/// <summary>
		/// The default int
		/// </summary>
		protected const int DefaultInt = int.MinValue;

		/// <summary>
		/// Missing parameter
		/// </summary>
		protected object Missing
		{
			get
			{
				return System.Reflection.Missing.Value;
			}
		}

		/// <summary>
		/// Get the copy of current object
		/// </summary>
		/// <returns></returns>
		public EQObject Copy()
		{
			return this.MemberwiseClone() as EQObject;
		}
	}
}
